package top.lidee.common.service.twice.management.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import top.lidee.common.service.twice.management.MtStoreWechatInputPieceAccountValidationService;
import top.lidee.framework.result.PageUtils;
import top.lidee.module.backendApi.twice.page.Query;
import top.lidee.repository.mapper.twice.management.MtStoreWechatInputPieceAccountValidationMapper;
import top.lidee.repository.model.twice.pojo.management.MtStoreWechatInputPieceAccountValidationEntity;

import java.util.Map;

@Service("mtStoreWechatInputPieceAccountValidationService")
public class MtStoreWechatInputPieceAccountValidationServiceImpl extends ServiceImpl<MtStoreWechatInputPieceAccountValidationMapper, MtStoreWechatInputPieceAccountValidationEntity> implements MtStoreWechatInputPieceAccountValidationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MtStoreWechatInputPieceAccountValidationEntity> page = this.page(
                new Query<MtStoreWechatInputPieceAccountValidationEntity>().getPage(params),
                new QueryWrapper<MtStoreWechatInputPieceAccountValidationEntity>()
        );

        return new PageUtils(page);
    }

}